import Layout from '@/views/layout/Layout'

const company_manage = {
  path: '/company_manage',
  component: Layout,
  meta: {title: '公司管理', roles: ['1'], icon: 'guanli'},
  children: [
    {
      path: '',
      name: 'company_manage.body',
      component: () => import('@/views/company_manage/body/index'),
      meta: {title: '主体管理', icon: 'subsystem', fullPath: '/company_manage'}
    },
    {
      path: 'body/edit',
      name: 'company_manage.body.edit',
      hidden: true,
      component: () => import('@/views/company_manage/body/edit'),
      meta: {title: '修改/添加', icon: 'subsystem', fullPath: '/company_manage/body/edit'}
    },

    {
      path: 'framework',
      name: 'company_manage.framework',
      component: () => import('@/views/company_manage/framework/index'),
      meta: {title: '组织架构管理', icon: 'subsystem', fullPath: '/company_manage/framework'}
    },
    {
      path: 'framework/edit',
      name: 'company_manage.framework.edit',
      hidden: true,
      component: () => import('@/views/company_manage/framework/edit'),
      meta: {title: '修改/添加', icon: 'subsystem', fullPath: '/company_manage/framework/edit'}
    },

    {
      path: 'bank_account',
      name: 'company_manage.bank_account',
      component: () => import('@/views/company_manage/bank_account/index'),
      meta: {title: '银行账户管理', icon: 'subsystem', fullPath: '/company_manage/bank_account'}
    },
    {
      path: 'department_manage',
      name: 'company_manage.department_manage',
      component: () => import('@/views/company_manage/department_manage/index'),
      meta: {title: '部门管理', icon: 'subsystem', fullPath: '/company_manage/department_manage'}
    },

  ]
}

export default company_manage
